import 'package:get/get.dart';

import '../services/auth_service.dart';
import 'app_pages.dart';

class RouteHelper{
  RouteHelper._();
  static void toLogin(){
    Get.find<AuthService>().logout();
    Get.toNamed(Routes.login);
  }
}